<?php /* Smarty version Smarty-3.1.6, created on 2012-06-04 05:13:10
         compiled from "./Tpl\default\News\index.html" */ ?>
<?php /*%%SmartyHeaderCode:91894fc04883c57124-58682887%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '60502053cd52f81983492949d6298896aba88561' => 
    array (
      0 => './Tpl\\default\\News\\index.html',
      1 => 1338757966,
      2 => 'file',
    ),
    'afa7feef72640df677f0fa211b42d8923789aa17' => 
    array (
      0 => 'Tpl\\default\\layout.html',
      1 => 1338001442,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '91894fc04883c57124-58682887',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_4fc04883d18b6',
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4fc04883d18b6')) {function content_4fc04883d18b6($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_truncate')) include 'E:\\Works\\Web\\xampp\\htdocs\\nycumc\\ThinkPHP\\Extend\\Vendor\\Smarty\\plugins\\modifier.truncate.php';
if (!is_callable('smarty_modifier_date_format')) include 'E:\\Works\\Web\\xampp\\htdocs\\nycumc\\ThinkPHP\\Extend\\Vendor\\Smarty\\plugins\\modifier.date_format.php';
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="description" content="_your description goes here_" />
    <meta name="keywords" content="nycumc" />
    <title><?php echo $_smarty_tpl->tpl_vars['title']->value;?>
</title>
    <link rel="stylesheet" type="text/css" href="/nycumc/Public/Css/style.css" media="screen" title="style (screen)" />
    <script type="text/javascript" src="/nycumc/Public/Js/jquery-1.7.2.min.js"></script>
</head>
<body>
    <div id="wrap">   
        <?php echo $_smarty_tpl->getSubTemplate ("Tpl/default/Public/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

        <div id="container">
            

	<div id="right">
				<div class="full">
					<h2><strong>公 告:</strong></h2>
					<p class="announce">
						<ul>
							<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['notice'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['notice']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['name'] = 'notice';
$_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['list2']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['notice']['total']);
?>
                				<li><?php echo $_smarty_tpl->tpl_vars['list2']->value[$_smarty_tpl->getVariable('smarty')->value['section']['notice']['index']]['notice_content'];?>
</li>
                			<?php endfor; endif; ?>
						</ul>
					</p>
				</div>	
				<div class="halfleft">
					<h2><strong>牧师证道</strong><span><a href="__APP__/sermon/index">查阅更多...</a></span></h2>
					<ul class="links">
						<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['name'] = 'Sermonk';
$_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['Sermon']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['Sermonk']['total']);
?>
                			<li><a href="__APP__/Sermon/detial/<?php echo $_smarty_tpl->tpl_vars['Sermon']->value[$_smarty_tpl->getVariable('smarty')->value['section']['Sermonk']['index']]['article_id'];?>
"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['Sermon']->value[$_smarty_tpl->getVariable('smarty')->value['section']['Sermonk']['index']]['article_title'],23,"...",true);?>
</a></li>
                		<?php endfor; endif; ?>
					</ul>
				</div>
				<div class="clearer">&nbsp;</div>
				<div class="full">
					<h2><strong>祷 告 ：</strong></h2>
					<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['prayk'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['name'] = 'prayk';
$_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['td_pray']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['prayk']['total']);
?>
                		<li><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['td_pray']->value[$_smarty_tpl->getVariable('smarty')->value['section']['prayk']['index']]['pray_content'],150,"...",true);?>
</li>
                	<?php endfor; endif; ?>
				</div>
				
			</div>
			
			<div id="list">
			<div class="listview">
               	<img src="public/images/news_banner.jpg" />
				<h2><strong>新闻动态>></strong></h2> 
						<ul class="links">
							<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['name'] = 'Newsk';
$_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['News']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['Newsk']['total']);
?>
                				<li><a href="__URL__/detial/<?php echo $_smarty_tpl->tpl_vars['News']->value[$_smarty_tpl->getVariable('smarty')->value['section']['Newsk']['index']]['article_id'];?>
"><?php echo $_smarty_tpl->tpl_vars['News']->value[$_smarty_tpl->getVariable('smarty')->value['section']['Newsk']['index']]['article_title'];?>
</a><span><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['News']->value[$_smarty_tpl->getVariable('smarty')->value['section']['Newsk']['index']]['article_date'],"%m/%d/%Y");?>
</span></li>
                			<?php endfor; endif; ?>
						</ul>
			</div>

<!-- 中间内容区域 -->
            <div style="clear:both;"></div>
        </div>
        <?php echo $_smarty_tpl->getSubTemplate ("Tpl/default/Public/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

    </div>
</body>
</html><?php }} ?>